package cn.yhbk.web.modules.manager.Pojo.Entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 有何不可
 * @since 2024-02-21
 */
@Getter
@Setter
@TableName("bursary_record")
@ApiModel(value = "BursaryRecord对象", description = "")
public class BursaryRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("奖学金id")
    @TableField("bursary_id")
    private Long bursaryId;

    @ApiModelProperty("奖学金名称")
    @TableField("bursary_name")
    private String bursaryName;

    @ApiModelProperty("排行")
    @TableField("`order`")
    private Integer order;

    @ApiModelProperty("学生姓名")
    @TableField("stu_name")
    private String stuName;

    @ApiModelProperty("学生专业班级信息")
    @TableField("stu_description")
    private String stuDescription;

    @ApiModelProperty("总绩点")
    @TableField("gpa_sum")
    private Double gpaSum;

    @ApiModelProperty("学生学号")
    @TableField("stu_number")
    private String stuNumber;


    @ApiModelProperty("创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty("修改时间")
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @TableField("year")
    private String year;

    @TableField("stu_id")
    private Long stuId;
}
